package com.cqyanyu.yanyu.http;
import com.fasterxml.jackson.core.type.TypeReference;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;

public   class TypeReferences<T> extends TypeReference<T> {
        protected final Type ttt;
        public TypeReferences( final Type... args){
            super();
            this.ttt = new ParameterizedType() {
                public Type getRawType() {
                    return _type;
                }
                public Type[] getActualTypeArguments() {
                    return args;
                }
                public Type getOwnerType() {
                    return null;
                }
            };
        }
        public Type getType() {
            return this.ttt;
        }
    }